<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<!--父组件-->
		<template id="footer">
			<div>
				<div>您点击了{{clickName}}  组件</div>
				<footer -item @danji="clickChange" :n123="item"</footer>
			</div>
		</template>
		
		<!--子组件-->
		<template id="footerItem">
			<div>
				<a @click="clickDiv()">{{n123}}</a>
			</div>
		</template>
	</body>
	<script>
	//定义子组件
	var footerItem = {
	//定义父组件
	var footer = {
		template: "#footer",
		dot
	}	
	}
	</script>
</html>
